Post Thank You Hack version 7.2

FOR UPGRADE AND FRESH INSTALLATIONS!

1) upload the 'upload via ftp' folder
--------------------------------------------------------------------
post_thanks.php -> \
post_thanks_admin.php -> \admincp\
post_thanks.js -> \clientscript\
functions_post_thanks.php -> \includes\
cpnav_post_thanks.xml -> \includes\xml\
hooks_post_thanks.xml -> \includes\xml\
post_thanks.gif -> \images\buttons\ (and into EVERY "buttons" folder in every style you have)
--------------------------------------------------------------------

2) Import product-post_thanks.xml into PRODUCTS. Allow Overwrite "YES" (admincp -> Plugin System -> Manage Products -> [Add/Import Product])



3) File edits:

Open file: global.php

find:
--------------------------------------------------------------------
if (!empty($db->explain))
--------------------------------------------------------------------

place BEFORE:
--------------------------------------------------------------------
eval('$template_hook[navbar_search_menu] .= "' . fetch_template('post_thanks_navbar_search') . '";');
--------------------------------------------------------------------



4) Template edits:


Open template: MEMBERINFO

find:
--------------------------------------------------------------------
						<br />($vbphrase[last_note]: $usernote[lastpostdate] <span class="time">$usernote[lastposttime]</span>)
					</if>
				</div>
			</div>
			</if>
--------------------------------------------------------------------

place AFTER:
--------------------------------------------------------------------
$template_hook[memberinfo_foruminfo]
--------------------------------------------------------------------




Open template: navbar

find:
--------------------------------------------------------------------
			<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
		</tr>
--------------------------------------------------------------------

place AFTER:
--------------------------------------------------------------------
$template_hook[navbar_search_menu]
--------------------------------------------------------------------




Open template: postbit AND postbit_legacy

find:
--------------------------------------------------------------------
<!-- / controls -->
--------------------------------------------------------------------

place BEFORE:
--------------------------------------------------------------------
$template_hook[postbit_controls]
--------------------------------------------------------------------


find:
--------------------------------------------------------------------
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
--------------------------------------------------------------------

place BEFORE:
--------------------------------------------------------------------
$template_hook[postbit_userinfo_right_after_posts]
--------------------------------------------------------------------



find:
--------------------------------------------------------------------
<!-- post $post[postid] popup menu -->
--------------------------------------------------------------------

place BEFORE:
--------------------------------------------------------------------
$template_hook[postbit_end]
--------------------------------------------------------------------




Click 'install' in the thread you downloaded this from.

Done

Click 'install' in the thread you downloaded this from.

Done